<html jwcid="@Shell" title="Results">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Services</title>

        <link jwcid="@Style" href="info.css" media="all"/>

    </head>
    <body jwcid="@Body">

        <table width="100%" border="1">
            <tr>

                <td width="90%">
                    <span jwcid="@Phones"/>
                </td>

                <td width="10%" align="center">
                    <span jwcid="@ChargeButton" serviceID="ognl:@ge.info.pages.SportTypePage@SERVICE_ID"></span>
                </td>
            </tr>
        </table>
        <br>

        <input jwcid="@Errors" exceptions='ognl:exceptions'/>
        <form jwcid="@Form">
            <input jwcid="@PropertySelection" model='ognl:page.getComboes().getCombo("SportTypes")'
                   value='ognl:listSportType'> NABC </input>

            <input jwcid="@TextField" value="ognl:posterCriteria"/>

             <input jwcid="@DatePicker" value="ognl:scDate" style="width: 95px"/>

            <input jwcid="@Submit" value="Search" listener="listener:searchPosters"/>

   <!--
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <td>
                                <a jwcid="@DirectLink" listener="listener:clear">წაშლა</a>
             </td>
   -->

        </form>

           <div style="overflow:auto; height:500px">

        <span jwcid="@If" condition="ognl:sportType!=null && sportType.sportPlaces!=null">
            <form jwcid="@Form">
                <table>
                    <tr valign="top">
                        <td nowrap>
                            <table>
                                <span jwcid="@For" source="ognl:sportType.sportPlaces" value="ognl:sportPlace">
                                    <tr valign="top">
                                        <td valign="top" nowrap>
                                            <a jwcid="@DirectLink" listener="listener:getSport" parameters="ognl:sportPlace">
<!--getSport -->
                                                <font color="blue">
                                                    <input jwcid="@Insert" value="ognl:sportPlace.placeName"/>
                                                </font>
                                            </a>
                                        </td>
                                    </tr>
                                </span>
                            </table>
                        </td>
                        <td>

                            <span jwcid="@If" condition="ognl:sportPlaceCurrent!=null">

                                <a jwcid="@DirectLink" listener="listener:getTournament" parameters="ognl:sportPlace">
                                <font color="red">
                                    <input jwcid="@Insert" value="ognl:sportPlaceCurrent.placeName"/> <br><br>
                                </font>
                                </a>

                                
                                <span jwcid="@If" condition="ognl:sportPlaceCurrent!=null  && sportPlaceCurrent.sportItems!=null">
                                    <table border="1">
                                        <!-- tr>
                                            
                                            <th width="240px" colspan="2">
                                                თარიღი
                                            </th>
                                            <th width="300px" colspan="3">
                                                მოედანი
                                            </th>


                                        </tr -->
                                        
                                        <span jwcid="@For" source="ognl:sportPlaceCurrent.sportItems" value="ognl:sportI" index="ognl:index">


                                            <tr>

                                                

                                                <td width="250px" colspan="2">
                                                    <b>
                                                        <input jwcid="@Insert" value="ognl:sportI.itemDate"/>
                                                    </b>
                                                </td>
                                                <td width="300px" colspan="3">
                                                    <input jwcid="@Insert" value="ognl:sportI.plc"/>
                                                </td>

                                                
                                            </tr>
                                            <tr>
                                                <td width="50px">

                                                    <input type="Submit" jwcid="@Submit" parameters="ognl:sportI" value="SMS" style="width: 35px" action="listener:sendSMS"/>


                                                </td>
                                            <td width="200px">
                                                    <font color="blue">
                                                        <input jwcid="@Insert" value="ognl:sportI.homesp"/>
                                                    </font>
                                                </td>
                                                <td width="20px">
                                                    <font color="blue">
                                                        <input jwcid="@Insert" value="ognl:sportI.homecalcul"/>
                                                    </font>
                                                </td>

                                                <td width="20px">
                                                    <font color="blue">
                                                        <input jwcid="@Insert" value="ognl:sportI.guestcalcul"/>
                                                    </font>
                                                </td>
                                            <td width="200px">
                                                    <font color="blue">
                                                        <input jwcid="@Insert" value="ognl:sportI.guestsp"/>
                                                    </font>
                                                </td>

                                                </tr>

                                            <tr bgcolor="#CCCCCC">
                                                <td colspan="5">
                                                    <input jwcid="@Insert" value="ognl:sportI.info"/>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="5" bgcolor="#747170">

                                                    &nbsp;&nbsp;
                                                </td>
                                            </tr>
                                            <span jwcid="@If" condition="ognl:break">
                                                <tr>
                                                    <td colspan="5" bgcolor="green">

                                                        &nbsp;&nbsp;
                                                    </td>
                                                </tr>

                                            </span>
                                        </span>
                                    
                                    </table>
                                </span>


                                

                                <span jwcid="@If" condition="ognl:sportPlaceCurrent.sportTournaments!=null">
                                    <table border="1">
                                        <tr>

                                            <th width="100px">
                                                &nbsp;&nbsp;
                                            </th>

                                            <th width="200px">
                                                დასახელება
                                            </th>
                                            <th width="30px">
                                                თ.
                                            </th>

                                            <th width="30px">
                                                მ.
                                            </th>
                                              <th width="30px">
                                                ფ.
                                            </th>

                                              <th width="30px">
                                                წ.
                                            </th>

                                              <th width="80px">
                                                გატ. ბ.
                                            </th>
                                            <th width="80px">
                                                გაშ. ბ.
                                            </th>
                                            <th width="30px">
                                                ქ.
                                            </th>
                                            <th width="30px">
                                                ა.
                                            </th>

                                        </tr>

                                        <span jwcid="@For" source="ognl:sportPlaceCurrent.sportTournaments" value="ognl:sportTournament">

                                           <tr>
                                                <td bgcolor="#CCCCCC" width="100px">
                                                    <input jwcid="@Insert" value="ognl:sportTournament.spgroup"/>
                                                </td>



                                                <td width="200px">
                                                    <b>
                                                        <input jwcid="@Insert" value="ognl:sportTournament.participant"/>
                                                    </b>
                                                </td>
                                                 <td width="30px">
                                                    <b>
                                                        <input jwcid="@Insert" value="ognl:sportTournament.mpl"/>
                                                    </b>
                                                </td>
                                                <td width="30px">
                                                    <b>
                                                        <input jwcid="@Insert" value="ognl:sportTournament.win"/>
                                                    </b>
                                                </td>
                                                 <td width="30px">
                                                    <b>
                                                        <input jwcid="@Insert" value="ognl:sportTournament.draw"/>
                                                    </b>
                                                </td>
                                                <td width="30px">
                                                    <b>
                                                        <input jwcid="@Insert" value="ognl:sportTournament.lost"/>
                                                    </b>
                                                </td>
                                                <td width="80px">
                                                    <b>
                                                        <input jwcid="@Insert" value="ognl:sportTournament.golf"/>
                                                    </b>
                                                </td>
                                                 <td width="80px">
                                                    <b>
                                                        <input jwcid="@Insert" value="ognl:sportTournament.gola"/>
                                                    </b>
                                                </td>
                                                <td width="30px">
                                                    <b>
                                                        <input jwcid="@Insert" value="ognl:sportTournament.points"/>
                                                    </b>
                                                </td>
                                                <td width="30px">
                                                    <b>
                                                        <input jwcid="@Insert" value="ognl:sportTournament.place"/>
                                                    </b>
                                                </td>
                                            </tr>
                                             <tr>
                                                <td colspan="10" bgcolor="#747170">

                                                    &nbsp;&nbsp;
                                                </td>
                                            </tr>

                                        </span>

                                    </table>
                                </span>


                            </span>

                           

                        </td>

                    </tr>
                </table>

            </form>
        </span>
        </div>
       
    </body>
</html>